package airacrobats.io;

/**
 * This interface is used for classes that are notified by loaders.
 */
public interface LoaderListener
{
    /**
     * Invoked when a loader finishes its work.
     * @param ex Any exception occurred on the loading progress.
     * @param loader The loader that invoked this method.
     * @param increment The increment amount.
     * @param message The event message.
     */
    public void loadFinished(Exception ex, Loader loader, double increment, String message);
}
